import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:ytbusiness/config/style.dart';
import 'package:ytbusiness/widgets/widgets.dart';


///全部订单
class AllOrder extends StatefulWidget {
  @override
  _AllOrderState createState() => _AllOrderState();
}

class _AllOrderState extends State<AllOrder> {

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: YTStyle.bgColor,
      appBar: customAppBar(context, title:"全部订单"),
      body: SafeArea(
        child: ListView.builder(
            shrinkWrap: true,
            itemCount: 10,
            itemBuilder: (context, index) {
              return listItem(
                  title: "[安徽-合肥] 云途养护旗舰店",
                  state: "待报价",
                  orderNum: "AE998820031",
                  accessories: "奥迪A3配件(共13件)",
                  havePrice: "共10个产品，已报价3个",
                  time: "2020-11-23 14:02");
            }),
      ),
    );
  }

}
